﻿namespace Dcms.IDAL
{
    using Dcms.Model;
    using System;
    using System.Collections.Generic;
    using System.Data;

    public interface IDcms_GuestBookDAL
    {
        Dcms_GuestBookModel AddModel(Dcms_GuestBookModel model);
        bool DeleteAllCheck(string AllID);
        void DeleteModelByID(int ID);
        string GetDataCount(string SqlStr);
        IList<Dcms_GuestBookModel> GetDataListByPage(string SqlStr, int CurPage, int PageSize);
        Dcms_GuestBookModel GetModelByID(int ID);
        DataSet GetModelList();
        Dcms_GuestBookModel GetNewModelByCatID(int CatID);
        Dcms_GuestBookModel Update(Dcms_GuestBookModel model);
        bool UpdateState(string AllID, int StateValue);
    }
}

